﻿Namespace EntityClass
    Public Class Person_Entity

        Private _id_Persona As Integer
        Public Property id_Persona() As Integer
            Get
                Return _id_Persona
            End Get
            Set(ByVal value As Integer)
                _id_Persona = value
            End Set
        End Property


        Private _id_tipo As New PersonType_Entity
        Public Property Tipo() As PersonType_Entity
            Get
                Return _id_tipo
            End Get
            Set(ByVal value As PersonType_Entity)
                _id_tipo = value
            End Set
        End Property


        Private _id_Localidad As New Location_Entity
        Public Property Localidad() As Location_Entity
            Get
                Return _id_Localidad
            End Get
            Set(ByVal value As Location_Entity)
                _id_Localidad = value
            End Set
        End Property


        Private _id_Impuesto As New TaxType_Entity
        Public Property Impuesto() As TaxType_Entity
            Get
                Return _id_Impuesto
            End Get
            Set(ByVal value As TaxType_Entity)
                _id_Impuesto = value
            End Set
        End Property


        Private _Nombre As String
        Public Property Nombre() As String
            Get
                Return _Nombre
            End Get
            Set(ByVal value As String)
                _Nombre = value
            End Set
        End Property


        Private _Apellido As String
        Public Property Apellido() As String
            Get
                Return _Apellido
            End Get
            Set(ByVal value As String)
                _Apellido = value
            End Set
        End Property

        Private _RazonSocial As String
        Public Property RazonSocial() As String
            Get
                Return _RazonSocial
            End Get
            Set(ByVal value As String)
                _RazonSocial = value
            End Set
        End Property

        Private _Domicilio As String
        Public Property Domicilio() As String
            Get
                Return _Domicilio
            End Get
            Set(ByVal value As String)
                _Domicilio = value
            End Set
        End Property

        Private _CodigoPostal As String
        Public Property CodigoPostal() As String
            Get
                Return _CodigoPostal
            End Get
            Set(ByVal value As String)
                _CodigoPostal = value
            End Set
        End Property


        Private _Tel As String
        Public Property Tel() As String
            Get
                Return _Tel
            End Get
            Set(ByVal value As String)
                _Tel = value
            End Set
        End Property

        Private _Cel As String
        Public Property Cel() As String
            Get
                Return _Cel
            End Get
            Set(ByVal value As String)
                _Cel = value
            End Set
        End Property

        Private _Email As String
        Public Property Email() As String
            Get
                Return _Email
            End Get
            Set(ByVal value As String)
                _Email = value
            End Set
        End Property

        Private _Cuit As String
        Public Property CUIT() As String
            Get
                Return _Cuit
            End Get
            Set(ByVal value As String)
                _Cuit = value
            End Set
        End Property

        Private _Sueldo As Double
        Public Property Sueldo() As Double
            Get
                Return _Sueldo
            End Get
            Set(ByVal value As Double)
                _Sueldo = value
            End Set
        End Property

        Private _LimiteCredito As Double
        Public Property LimiteCredito() As Double
            Get
                Return _LimiteCredito
            End Get
            Set(ByVal value As Double)
                _LimiteCredito = value
            End Set
        End Property

        Private _status As String
        Public Property Status() As String
            Get
                Return _status
            End Get
            Set(ByVal value As String)
                _status = value
            End Set
        End Property


        Private _Movimientos As New System.Collections.Generic.List(Of Transaction_Entity)
        Public Property Movimientos() As System.Collections.Generic.List(Of Transaction_Entity)
            Get
                Return _Movimientos
            End Get
            Set(ByVal value As System.Collections.Generic.List(Of Transaction_Entity))
                _Movimientos = value
            End Set
        End Property

    End Class
End Namespace

